package com.sgcc.sx.pmos.e_sx_mall.contract;

import com.sgcc.sx.pmos.common.base.IView;
import com.sgcc.sx.pmos.common.bean.BaseResponse;
import com.sgcc.sx.pmos.common.bean.GoodScreenBackBean;
import com.sgcc.sx.pmos.e_sx_mall.bean.MallGoodsBean;

public class GoodsContract {
    public interface View extends IView {
        void queryGoodsListSuccess(MallGoodsBean response);

        void queryGoodsListFailed();

        void addCollectionSuccess(BaseResponse response, String combId);

        void deletePackageByIdSuccess(BaseResponse response, String combId);

        void addCollectionFailed();
    }

    public interface Presenter {
        void getGoodsList(int pageSize, boolean isLoading, String ratioId, String soldEnergySort, String avgPriceSort,
                          String createDateSort, GoodScreenBackBean goodScreenBackBean);

        void addUserPackageCollection(String membersUserName, String membersSdId, String membersSdName,
                                      String combId, String combName);

        void deletePackageById(String combId, String membersSdId);
    }
}
